addAll MACRO  nbr1, nbr2, nbr3, nbr4, nbr5
; add up to 5 doubleword integers, putting sum in EAX
       mov   eax, nbr1    ; first operand
       IFNB  <nbr2>
       add   eax, nbr2    ; second operand
       ENDIF
       IFNB  <nbr3>
       add   eax, nbr3    ; third operand
       ENDIF
       IFNB  <nbr4>
       add   eax, nbr4    ; fourth operand
       ENDIF
       IFNB  <nbr5>
       add   eax, nbr5    ; fifth operand
       ENDIF
       ENDM

